package june.overlayfilter;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.drawable.Drawable;

public class MapDrawable2 extends Drawable{
	
	Drawable d;
	
	int botton_centerX;
	int botton_centerY;
	
	public MapDrawable2(Drawable d, int botton_centerX, int botton_centerY, Context c){
		this.d = d;
		this.botton_centerX = botton_centerX;
		this.botton_centerY = botton_centerY;
	}

	@Override
	public void draw(Canvas canvas) {
		// TODO Auto-generated method stub
		canvas.translate(botton_centerX, botton_centerY);
		canvas.drawCircle(0, 0, 10, new Paint());
		d.draw(canvas);
	}

	@Override
	public int getOpacity() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void setAlpha(int alpha) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setColorFilter(ColorFilter cf) {
		// TODO Auto-generated method stub
		
	}

}
